<template>
    <div>
        <van-sticky :offset-top="0">
            <van-nav-bar title="详情" left-text="返回" left-arrow @click-left="onClickLeft" />
        </van-sticky>
    </div>
</template>

<script setup>
import { ref} from 'vue';
import { useRouter } from 'vue-router';
let router=useRouter()
const onClickLeft = () => router.go(-1);
</script>

<style lang="scss" scoped></style>